![]() |
DMGetDisplayMode |
||||
Header: | Displays.h | Carbon status: | Supported | |
Obtains the current display mode of a specified video display.
OSErr DMGetDisplayMode ( GDHandle theDevice, VDSwitchInfoPtr switchInfo );
A handle to the GDevice structure for the video device whose display mode you wish to obtain.
On return, a pointer to an internal Display Manager structure containing display mode information.
A result code.
Because this function may move or purge memory blocks or access handles, you cannot call it at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when Displays 2.0 or later is present.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)